<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>客户信息列表</title> 
<%@ include file="/page/include.jsp"%>
<script src="<%=basePath%>/statics/js/webform.js" type="text/javascript"></script>
</head>
<body class="nav-md">
	<div class="container body">
		<div class="main_container">
			<div class="framebody" role="main">
				<!-- <blockquote class="ui-elem-quote">
  					客户信息
				</blockquote>  -->
				<div class="row">
					<div class="col-md-12 col-sm-12 col-xs-12">
						<div class="x_panel">
							<div class="x_title">
								<h2>
									<i class="fa fa-pencil fa-fw"></i>查询条件 <small></small>
								</h2> 
								<div class="clearfix"></div>
							</div>
							
							<div class="x_content">
								<form id="position-form" class="form-horizontal form-label-left">
								
									<div class="form-group">
										<label class="control-label col-md-1" for="customerName">客户名称:
										</label>
										<div class="col-md-2">
											<input type="text" id="customerName" name="customerName" class="form-control col-md-12">
										</div>
										<label class="control-label col-md-1" for="customerLevel">客户手机号:
										</label>
										<div class="col-md-2">
											<input type="text" id="mobile" name="mobile" class="form-control col-md-12">
										</div>
										<label class="control-label col-md-1" for="companyName">单位名称:
										</label>
										<div class="col-md-2">
											<input type="text" id="companyName" name="companyName" class="form-control col-md-12">
										</div>
										<label class="control-label col-md-1" for="customerLevel">客户级别:
										</label>
										<div class="col-md-2">
											<select class="selectpicker form-control col-md-12" id="customerLevel" name="customerLevel" data-live-search="true" title="请选择">
											</select>
										</div>
									</div>
									
									<div class="form-group">
										<label class="control-label col-md-1" for="salesmanCode">业务员:
										</label>
										<div class="col-md-2">
											<select class="selectpicker form-control col-md-12" id=salesmanCode name="salesmanCode" data-live-search="true" title="请选择">
											</select>
										</div>
										<label class="control-label col-md-1" for="coperateFlag">合作中:
										</label>
										<div class="col-md-2">
											<select class="selectpicker form-control col-md-12" id="coperateFlag" name="coperateFlag" data-live-search="true" title="请选择">
											</select>
										</div>
										<label class="control-label col-md-1" for="coperateFlag">付款方式:
										</label>
										<div class="col-md-2">
											<select class="selectpicker form-control col-md-12" id="allowedPayType" name="allowedPayType" data-live-search="true" title="请选择">
											</select>
										</div>
										<label class="control-label col-md-1" for="coperateFlag">注册时间:
										</label>
										<div class="col-md-2">
											<input type="text" id="registeTime" name="registeTime" class="form-control" readonly="readonly"/>
										</div>
									</div>
									
									<div class="form-group">
										<label class="control-label col-md-1" for="coperateFlag">销售时段:
										</label>
										<div class="col-md-2">
											<input type="text" id="salesTime" name="salesTime" class="form-control" readonly="readonly"/>
										</div>
										<label class="control-label col-md-1" for="coperateFlag">登录时段:
										</label>
										<div class="col-md-2">
											<input type="text" id="loginTime" name="loginTime" class="form-control" readonly="readonly"/>
										</div>
										<label class="control-label col-md-1" for="coperateFlag">PC登录时段:
										</label>
										<div class="col-md-2">
											<input type="text" id="pcLoginTime" name="pcLoginTime" class="form-control" readonly="readonly"/>
										</div>
										<label class="control-label col-md-1" for="coperateFlag">微信登录时段:
										</label>
										<div class="col-md-2">
											<input type="text" id="wxLoginTime" name="wxLoginTime" class="form-control" readonly="readonly"/>
										</div>
									</div>
									<div class="form-group">
										<label class="control-label col-md-1" for="roleName">地址:
										</label>
										<div class="col-md-5 col-sm-5 col-xs-5">
											<select id="provinceId" data-width="125px" name="provinceCode" class="selectpicker" title="省" data-live-search="true" ></select>
											&nbsp;
											<select id="cityId" data-width="117px" name="cityCode" class="selectpicker" title="市" data-live-search="true" ></select>
											&nbsp;
											<select id="areaId" data-width="125px" name="areaCode" class="selectpicker" title="区" data-live-search="true" ></select>
										</div>
										<div class="pull-right">
											<a class="btn btn-danger" id="btnClear"><i class="fa fa-trash-o fa-fw"></i>清空</a> 
											<a class="btn btn-primary search" id="btnQuery"><i class="fa fa-search-plus fa-fw"></i>查询</a>
										</div>
									</div>
								</form>
							</div>
						</div>
					</div>
				</div>

				<div class="row">
					<div class="col-md-12 col-sm-12 col-xs-12">
						<div class="x_panel">
							<div class="x_title">
								<h2>
									<i class="fa fa-reorder fa-fw"></i>客户信息列表 <small></small>
								</h2>
								<div class="clearfix"></div>
								<%-- 隐藏域 begin --%>
								<input type="hidden" id="isSalesman" value="${isSalesman }" />
								<%-- 隐藏域 end --%>
							</div>
							
							<div class="x_content">
								<div class="row" style="padding-bottom: 10px;">
									<a class="btn btn-success btn-sm" id="btnAdd"><i class="fa fa-plus fa-fw"></i>新增</a>
									<!-- <a class="btn btn-default btn-sm" id="btnExport"><i class="fa fa-file-excel-o fa-fw"></i>导出</a> -->
								</div>
								<div class="row" style="margin-top:-50px;">
									<table id="companyTable" class="table"></table>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<script src="${rootPath}/js/customer/company_list.js?v=20180308"></script>
</body>
</html>